import request from '@/utils/request'

// 查询学生缴费列表
export function listStudent_tuition(query) {
  return request({
    url: '/teach/student_tuition/list',
    method: 'get',
    params: query
  })
}

// 查询学生缴费详细
export function getStudent_tuition(tId) {
  return request({
    url: '/teach/student_tuition/' + tId,
    method: 'get'
  })
}

// 新增学生缴费
export function addStudent_tuition(data) {
  return request({
    url: '/teach/student_tuition',
    method: 'post',
    data: data
  })
}

// 修改学生缴费
export function updateStudent_tuition(data) {
  return request({
    url: '/teach/student_tuition',
    method: 'put',
    data: data
  })
}

// 删除学生缴费
export function delStudent_tuition(tId) {
  return request({
    url: '/teach/student_tuition/' + tId,
    method: 'delete'
  })
}
